package com.church.elim.dao;

import java.util.List;


import com.church.elim.domain.Education;
import com.church.elim.domain.MaritalStatus;
import com.church.elim.domain.Parishioner;

public interface ParishionerDAO extends GenericDAO<Parishioner>{
	public Parishioner findParishioner(Long id);
	public List<Parishioner> findFilteredParishioners(String condition);
	public List<Parishioner> findAllParishioners();
	public List<MaritalStatus> getMaritalStatusList();
	public List<Education> getEducationList();
	public void persist(Parishioner parishioner);
	public void flush();
	public void updateParishioner(Parishioner parishioner);
	public void updateChurch(Parishioner parishioner);
	public List<Parishioner> findPaginated(Integer page, Integer size);
	@SuppressWarnings("rawtypes")
	List findAllParishioners(String columns);
}
